﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ACLCTaguigEnrollmentSystem.UserControls
{
    public partial class EmployeeRegistration : UserControl
    {
        public EmployeeRegistration()
        {
            InitializeComponent();
        }

        private void Sex_combobox_SelectedIndexChanged(object sender, EventArgs e)
        {

            EmployeeRegistration ER = (EmployeeRegistration)Sex_combobox.SelectedItem;
        }

        private void Save_btn_Click(object sender, EventArgs e)
        {
            
             if (Sex_combobox.SelectedIndex == 0)
                                {
                                    panel1_Paint.Add("Male");

                                }
             else
             {
                 ( Sex_combobox.SelectedIndex ==1)
                 {
                     panel1_Paint = ("Female");
                 }
             }
        }
    }
}